import request from '@/utils/request'

export default {
  getUrinaryCrystalPos(data) {
    return request({
      // url: '/detect_api/start_detect',
      // url:'http://127.0.0.1:5000/detect_api/start_detect/'+data.path,
      url:'http://114.55.11.37:8082/detect_api/start_detect/'+data.path,
      // url:'http://127.0.0.1:5000/detect_api/start_detect/'+data.path,
      // url:'http://123.60.111.171:8082/detect_api/start_detect/'+data.path,
      method: 'get'
    })
  },

  saveLabeledJsonFile(jsonString) {
    return request({
      url: '/admin/label/saveLabelAsJsonBatch',
      method: 'post',
      data: jsonString
    })
  }
}

